import Vue from 'vue'
import Vuex, {
  Store
} from 'vuex'

Vue.use(Vuex);

export default new Store({
  state: {
    uploads: 'http://localhost/app/web2/public/static/uploads/',
    badge: {
      'titles': ['甜点饮品', '家常菜', '快食简餐', '甜蜜蛋糕', '麻辣烫冒菜', '早餐', '日韩料理', '包子粥店'],
      'icons': [
        require('../assets/img/icon1.png'),
        require('../assets/img/icon2.png'),
        require('../assets/img/icon3.png'),
        require('../assets/img/icon4.png'),
        require('../assets/img/icon5.png'),
        require('../assets/img/icon6.png'),
        require('../assets/img/icon7.png'),
        require('../assets/img/icon8.jpg')
      ]
    }
  },
  mutations: {}
})
